/*
 * Copyright (c) 2022 上海市政工程设计研究总院(集团)有限公司 All Rights Reserved.
 */
package com.smedi.ismedi.personnel.core.application.convert;

import com.smedi.ismedi.personnel.core.application.command.OrganizationAssignmentListQueryCommand;
import com.smedi.ismedi.personnel.core.application.command.PersonListQueryCommand;
import com.smedi.ismedi.personnel.core.application.command.PersonOneQueryCommand;
import com.smedi.ismedi.personnel.core.port.adapter.persistence.dto.OrganizationAssignmentQuery;
import com.smedi.ismedi.personnel.core.port.adapter.persistence.dto.PersonQuery;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * application Converter
 *
 * @author 15428
 * &#064;date  2022-06-07 15:22:03
 * @since 0.0.1
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface AppConverter {
    PersonQuery personListQueryCommandToPersonQuery(PersonListQueryCommand personListQueryCommand);

    PersonQuery personOneQueryCommandToPersonQuery(PersonOneQueryCommand personOneQueryCommand);

    PersonQuery personListQueryCommandToPersonQuery(PersonOneQueryCommand personOneQueryCommand);

    OrganizationAssignmentQuery organizationAssignmentListQueryCommandToOrganizationAssignmentQuery(OrganizationAssignmentListQueryCommand organizationAssignmentListQueryCommand);
}
